package com.bfs.anasit.repository;

import com.bfs.anasit.model.AnasitUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.support.JpaEntityInformation;
import org.springframework.data.jpa.repository.support.SimpleJpaRepository;

import javax.persistence.EntityManager;

/**
 * Created by IntelliJ IDEA.
 * User: lukman
 * Date: 6/12/11
 * Time: 10:07 PM
 * To change this template use File | Settings | File Templates
 * Implement other DAO functionality that are not in JPARepository
 * using possible Default Named Query..
 */
public interface AnasitUserRepository extends JpaRepository<AnasitUser, Long> {
    /**
     * Get Patient with the associated patientId.
     * @return Person object if provided patientId is
     * found in the data repository, otherwise return null
     */
//    @Query()
//	List<AnasitUser> findAllUserAndSortByFirstName();
}
